package com.hycas.scanner;

import java.util.Scanner;

public class Demo04 {
    public static void main(String[] args) {
        //接收用户输入：
       Scanner scanner= new Scanner(System.in);
        System.out.println("hold on input：");
        String str=scanner.nextLine();
        System.out.println("您输入的是："+str);
        scanner.close();
    }
}
